import PubSub from "pubsub-js"
export default function Son1() {
    return (
        <div>
            <h4>Son1</h4>
            <p><button onClick={() => {
                PubSub.publish('fanfan', '20年而已，很快就出来了！')
            }}>发布凡凡的消息1</button></p>
        </div>
    )
}
